/*
 * @Author: 段本显
 * @Date: 2020-04-07 15:03:44
 * @LastEditors: 段本显
 * @LastEditTime: 2021-08-06 15:18:34
 * @Email: duanbenxian@jianq.com
 * @如果有bug，那肯定不是我的锅，噜噜噜
 */

import { State } from '@store'
import * as types from './types'

export default {
  [types.UPDATE_DIRECTION](state: State, payload: State) {
    state.direction = payload.direction
  }
}
